﻿using System;
using System.Collections.Generic;
using System.Text;
using GalaSoft.MvvmLight.Ioc;
using PracticalNEU.Services;

namespace PracticalNEU.ViewModels
{
    public class ViewModelLocator
    {
        public TodayWeatherPageViewModel TodayWeatherPageViewModel =>
            SimpleIoc.Default.GetInstance<TodayWeatherPageViewModel>();
        public ViewModelLocator()
        {
            SimpleIoc.Default.Register<IPreferenceStorage, PreferenceStorage>();
            SimpleIoc.Default.Register<TodayWeatherPageViewModel>();
            SimpleIoc.Default.Register<ITodayWeatherStorage, TodayWeatherStorage>();

        }
    }
}
